package com.baomidou.ant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class UserBag implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;
    /**
     *用户外键
     */
    private Integer userId;
    /**
     *背包容量
     */
    private Integer totalAmount;
    /**
     *已用容量
     */
    private Integer usedAmount;
    /**
     *背包级别
     */
    private String bagLevel;
}
